//
//  HelpView.swift
//  TrafficViolation
//
//  Created by eaglelive on 2017/6/1.
//  Copyright © 2017年 eaglelive. All rights reserved.
//

import UIKit
class HelpView: UIView {
    override func layoutSubviews() {
        super.layoutSubviews()
        let label1 = UILabel()
        label1.font = UIFont.systemFont(ofSize: 13)
        label1.lineBreakMode = .byWordWrapping;
        label1.numberOfLines = 0
        label1.text = "1.根据交通管理局的违章处理要求，您如若需要下单处理，则需要补充此车车主的行驶证或驾驶证等相关资料;"
        self.addSubview(label1)
        label1.snp.makeConstraints { (make) in
            make.left.equalTo(15)
            make.top.equalTo(20)
            make.right.equalTo(-10)
        }
        let label2 = UILabel()
        label2.font = UIFont.systemFont(ofSize: 13)
        label2.lineBreakMode = .byWordWrapping;
        label2.numberOfLines = 0
        label2.text = "2.请提供清晰的图片，拍照时请防止反光;"
        self.addSubview(label2)
        label2.snp.makeConstraints { (make) in
            make.left.equalTo(15)
            make.top.equalTo(label1.snp.bottom).offset(10)
            make.right.equalTo(-10)
        }
        let label3 = UILabel()
        label3.font = UIFont.systemFont(ofSize: 13)
        label3.lineBreakMode = .byWordWrapping;
        label3.numberOfLines = 0
        label3.text = "3.图片模糊或字体无法清晰辨认的将可能造成无法办理的情况;"
        self.addSubview(label3)
        label3.snp.makeConstraints { (make) in
            make.left.equalTo(15)
            make.top.equalTo(label2.snp.bottom).offset(10)
            make.right.equalTo(-10)
        }
        let label4 = UILabel()
        label4.font = UIFont.systemFont(ofSize: 13)
        label4.lineBreakMode = .byWordWrapping;
        label4.numberOfLines = 0
        label4.text = "4.行驶证信息仅用于认证，我们将为您严格保密。"
        self.addSubview(label4)
        label4.snp.makeConstraints { (make) in
            make.left.equalTo(15)
            make.top.equalTo(label3.snp.bottom).offset(10)
            make.right.equalTo(-10)
        }
    }
}
